<template>
    <div>
    </div>
</template>

<script>
import Oidc from 'oidc-client'
export default {
    data(){
        return{

        }
    },
    mounted (){
         this.$store.dispatch('userService/signinRedirectCallback').then(user =>{
             //登录成功后跳转回来
             if(user){
                 this.$router.push(`/welcome`)
             }
         },err =>{
             console.log(err)
             //this.$router.push(`/index`)
         })
    }
}
</script>